#homework8.py

str1 = 'They are students.'
str2 = 'aeiou.'
str3=''
for i  in str1:
    if i in str2:
        str3 += i
print(str3)

for i in str3:
    str1=str1.replace(i,' ')
print(str1)
